package yxy.cherry.battle.module.record.stream;

import yxy.cherry.battle.Fighter;
import yxy.cherry.battle.module.affix.AffixContext.AffixTarget;

public class RecordStream_27_援护伤害 extends RecordStream {

	private AffixTarget target;

	public RecordStream_27_援护伤害(AffixTarget target) {
		this.target = target;
	}

	@Override
	protected void _record() {
		Fighter 目标 = target.get目标();
		Fighter 援护 = target.get援护对象();
		sb().append(27);
		sb().append("|");
		sb().append(目标.getFighterPosition().code());
		sb().append("|");
		sb().append(target.get伤害流().toString());
		sb().append("|");
		sb().append(target.get效果流().toString());
		sb().append("|");
		sb().append(目标.get血量万分值());
		sb().append("|");
		sb().append(援护.getFighterPosition().code());
		sb().append(";");
	}

}
